package dto;

import om.Orte;
import om.Route;

public class RouteOrtDTO {
	private Integer routenid;
	private Integer orteid;
	private String routenname;
	private String ortname;
	

	public RouteOrtDTO(Route route, Orte ort){
		orteid = ort.getOrteid();
		routenid = route.getRouteid();
		routenname = route.getName();
		ortname = ort.getStadt();
	}
	
	
	
	public String getRoutenname() {
		return routenname;
	}



	public void setRoutenname(String routenname) {
		this.routenname = routenname;
	}



	public Integer getOrteid() {
		return orteid;
	}



	public void setOrteid(Integer orteid) {
		this.orteid = orteid;
	}



	public Integer getRoutenid() {
		return routenid;
	}



	public void setRoutenid(Integer routenid) {
		this.routenid = routenid;
	}



	
	public String getOrtname() {
		return ortname;
	}
	public void setOrtname(String ortname) {
		this.ortname = ortname;
	}

}
